package com.example.demo.pojo;

import java.io.Serializable;
import java.util.List;

public class RequestJson implements Serializable {
    Integer pageNum;
    Integer PageSize;
    String orderBy;
    List<WhereCondition> whereConditions;

    public RequestJson() {
    }

    public RequestJson(Integer pageNum, Integer pageSize, String orderBy, List<WhereCondition> whereConditions) {
        this.pageNum = pageNum;
        PageSize = pageSize;
        this.orderBy = orderBy;
        this.whereConditions = whereConditions;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return PageSize;
    }

    public void setPageSize(Integer pageSize) {
        PageSize = pageSize;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public List<WhereCondition> getWhereConditions() {
        return whereConditions;
    }

    public void setWhereConditions(List<WhereCondition> whereConditions) {
        this.whereConditions = whereConditions;
    }

    private static final long serialVersionUID = 1L;
}
